a {
    text-decoration: none;
}

div {
    box-sizing: border-box;
}

ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    /* 永远不会出现水平滚动条 */
    overflow-x: hidden;
    -webkit-top-highlight-color: transparent;
}
/* 搜索模块Start */
.search-index {display: flex;
    /* 固定定位 与父级无关，以屏幕为准*/
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    /* 固定的盒子应该有宽度 */
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    background-color: #f6f6f6;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

.user {
    width: 44px;
    height: 44px;
    align-self: flex-end;
    text-align: center;
    color: #2eaae0;
}
.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    /* 先缩放二倍图截取大小，确定位置，输入缩放后的宽度(高度可不写 */
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px auto;
    margin: 4px auto -2px;
}
.search {
    position: relative;
    height: 26px;
    line-height: 24px;
    border: 1px solid #CCC;
    flex: 1;
    font-size: 12px;
    color: #666;
    margin: 7px 10px;
    padding-left: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.search::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px auto;
}
/* 搜索模块End */

/* 焦点图模块Start */
.focus {
    padding-top: 44px;
}
.focus img {
    width: 100%;
}
/* 焦点图模块End */

/* 局部导航栏模块Start */
.local-nav {
    display: flex;
    height: 64px;
    background-color: #FFF;
    margin: 3px 4px;
    border-radius: 8px;
}
.local-nav li {
    flex: 1;
}
.local-nav a {
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    color: #222;
}
.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px auto;
    margin-top: 8px;
}
.local-nav li .local-nav-icon-icon2 {
    background: url(../images/localnav_bg.png) no-repeat 0 -32px;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon3 {
    background: url(../images/localnav_bg.png) no-repeat 0 -64px;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon4 {
    background: url(../images/localnav_bg.png) no-repeat 0 -96px;
    background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon5 {
    background: url(../images/localnav_bg.png) no-repeat 0 -128px;
    background-size: 32px auto;
}

/* 局部导航栏模块End */

/* 主导航栏模块Start */
nav {
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
.nav-common {
    display: flex;
    height: 88px;
    /* linear-gradient背景渐变,兼容性问题,必须添加浏览器私有前缀!! */
    /* 默认是top */
    /* background: -webkit-linear-gradient(red,blue); */
    /* background: -webkit-linear-gradient(left,red,blue); */
    /* background: -webkit-linear-gradient(top left,red,blue); */
}
.nav-common:nth-child(1) {
background: -webkit-linear-gradient(left,#FA5A55,#FA994D);
}
.nav-common:nth-child(2) {
background: -webkit-linear-gradient(left,#4B90ED,#53BCED);
}
.nav-common:nth-child(3) {
background: -webkit-linear-gradient(left,#34C2A9,#6CD559);
}
.nav-common:nth-child(2) {
    margin: 3px 0;
}
.nav-items {
    flex: 1;
    display: flex;
    /* flex-direction: column; */
    /* flex-flow: wrap; */
    flex-flow: column nowrap;
    /* align-items: center; */
}
/* 选择前面两个元素 */
.nav-items:nth-child(-n+2) {
    border-right: 1px solid #FFF;
}
/* .nav-items:nth-child(n+2) {
    border-left: 1px solid #FFF;
} */
.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #FFF;
    font-size: 14px;
    /* 文字阴影 */
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}
.nav-items a:nth-child(1) {
    border-bottom: 1px solid #FFF;
}
.nav-items:nth-child(1) a {
    border-bottom: none;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-common:nth-child(1) .nav-items:nth-child(1) a {
    border-bottom: none;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-common:nth-child(2) .nav-items:nth-child(1) a {
    border-bottom: none;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
.nav-common:nth-child(3) .nav-items:nth-child(1) a {
    border-bottom: none;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
}
/* 主导航栏模块End */

/* 侧导航栏模块Start */
.subnav-entry {
    display: flex;
    border-radius: 8px;
    background-color: #FFF;
    margin: 0 4px;
    flex-flow: row wrap;
    padding: 5px 0;
}
.subnav-entry li {
    /* 里面的子盒子可以写百分比% */
    /* 相对于父盒子来说的 */
    flex: 20%;

}

.subnav-entry li a {
    display: flex;
    text-align: center;
    flex-flow: column nowrap;
    align-items: center;
}

.subnav-entry li [class^="subnav-entry-icon"] {
    width: 28px;
    height: 28px;
    margin: 4px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon2 {
    background: url(../images/subnav-bg.png) no-repeat 0 -28px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon3 {
    background: url(../images/subnav-bg.png) no-repeat 0 -62px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon4 {
    background: url(../images/subnav-bg.png) no-repeat 0 -97px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon5 {
    background: url(../images/subnav-bg.png) no-repeat 0 -129px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon6 {
    background: url(../images/subnav-bg.png) no-repeat 0 -162px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon7 {
    background: url(../images/subnav-bg.png) no-repeat 0 -196px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon8 {
    background: url(../images/subnav-bg.png) no-repeat 0 -228px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon9 {
    background: url(../images/subnav-bg.png) no-repeat 0 -260px;
    background-size: 28px auto;
}
.subnav-entry li .subnav-entry-icon-icon10 {
    background: url(../images/subnav-bg.png) no-repeat 0 -321px;
    background-size: 28px auto;
}
/* 侧导航栏模块End */

/* 销售模块Start */
.sales-box {
    border: 1px solid #BBB;
    background-color: #FFF;
    margin: 8px 5px;
}
.sales-hd {
    position: relative;
    height: 44px;
    border-bottom: 1px solid #CCC ;
}
.sales-hd h2 {
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
.sales-hd h2::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 20px;
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.sales-hd a {
    position: absolute;
    top: 0px;
    right: 5px;
    background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
    border-radius: 8px;
    padding: 3px 20px 3px 8px;
    color: #FFF;
}
.sales-hd a::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #CCC;
    border-right: 2px solid #CCC;
    transform: rotate(45deg);
}
.sales-bd-row {
    display: flex;
}
.sales-bd-row a {
    flex: 1;
    border-bottom: 1px solid #EEE ;
}
.sales-bd-row a:first-child {
    border-right: 1px solid #EEE;
}
.sales-bd-row a img {
    width: 100%;
}
/* 销售模块End */
